package cn.factorybox.item.mapper;

import cn.factorybox.model.entity.CameraImg;

import java.util.List;
import java.util.Map;

/**
 * @author flypig
 * @version 1.0
 * @date 2020-05-25 9:23
 */
public interface CameraMapper {
    int savePic(CameraImg cameraImg);

    int getTodayCount(String deviceID);

    List<CameraImg> selectPicList(Map<String, Object> map);

    List<CameraImg> selectAllDayPicList(Map<String, Object> map);

    int addDevice(Map<String, Object> map);

    int updateDevice(Map<String, Object> map);

    List<Map<String, Object>> selectList();
}
